package com.anxin.service;

import java.util.List;
import java.util.Map;

import com.anxin.bean.User;
import com.anxin.util.PageListData;

public interface UserService {
	public void save(User user);

	public void delete(User user);

	public void delete(Integer id);

	public void update(User user);

	public PageListData queryPage(Map param, int currentPage, int pageSize);

	public User findById(Integer id);

	public List<User> findAll();

	public User checkLogin(User user);
}
